import requests


def xhs_hot():
    # headers里面的x-sign方法始终无法解出，暂未完善
    url = 'https://www.xiaohongshu.com/fe_api/burdock/v2/homefeed/notes?pageSize=20&oid=recommend&page=1'
    response = requests.get(url).text
    print(response)


if __name__ == '__main__':
    xhs_hot()